package com.xinxing.city.recovery.entitys;

/**
 * Created by YFB on 2017/7/26.
 */

public class BaseEntity<T> {
    // 返回码，0表示成功，非0表示失败
    private int code;

    // 返回消息，成功为“success”，失败为具体失败信息
    private String message;

    // 返回数据
    private T data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

}
